package com.cloud.service.impl;

import com.cloud.Pay;
import com.cloud.R;
import com.cloud.service.PaymentService;
import org.springframework.stereotype.Component;

/**
 * @BelongsProject: my
 * @BelongsPackage: com.cloud.service.impl
 * @Author: ji ge
 * @CreateTime: 2024-02-04  14:04
 * @Description: TODO
 * @Version: 1.0
 */
@Component
public class PaymentFallbackService implements PaymentService {
    @Override
    public R<Pay> paymentSQL(Long id) {
        return new R<>(44444,"服务降级返回 ",new Pay(id,"err serial"));
    }
}
